package cn.magictodo.weblog.admin.model.vo.article;

import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * 修改是否推送
 *
 * @author liu
 * @since 2023-12-21 17:16
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
@ApiModel(value = "修改是否推送文章VO")
public class IsPublishArticleReqVO {

    @NotNull(message = "文章 ID 不能为空")
    private Long id;
    @NotNull(message = "是否推送不能为空")
    private Boolean isPublish;
}
